<template>
  <div>review</div>
</template>

<script setup lang="ts">
import { cloneDeep } from 'lodash';

const props = withDefaults(
  defineProps<{
    visible?: boolean;
    data?: any;
  }>(),
  {
    visible: false
  }
);
const emit = defineEmits(['update:visible', 'handleOk']);
const handleCancel = () => {
  emit('update:visible', false);
};
const handleOk = () => {
  emit('handleOk');
  handleCancel();
};
const templateData = ref();
watch(props.data, () => {
  templateData.value = cloneDeep(props.data);
});
</script>

<style lang="less" scoped>
//
</style>
